<script setup>
import { useRoute } from "vue-router";

const router = useRoute();
</script>

<template>
  <div class="app">
    <router-view v-slot="props">
      <Keep-alive include="Home">
        <component :is="props.Component" />
      </Keep-alive>
    </router-view>
  </div>
</template>

<style lang="less" scoped></style>
